zpp = {'age':'27', 'coutry':'China', 'sex':'男'}

def show_dic(dic):
    """keys()、values()和items()方法

    :dic: TODO
    :returns: TODO

    """
    print('键是：', end=' ')
    for i in dic.keys():
        print(i, end=' ')
    print('\n键值是：')
    for i in dic.values():
        print(i)
    print('项是：')
    for i in dic.items():
        print(i)


show_dic(zpp)
